// 用户基本不变的资料
const user = {
  info: {
    router:[{
      path:'/Index',
      name:'首页',
      index:1
    }],
    login:false,
    routerCurrent:1,
    BoxCurrent:null,
    currentIndex:null
  },
  methods: {
    router (state,obj) {
      state.router = obj
    },
    login (state, s){
      state.login = s
    },
    routerCurrent (state, current) {
      state.routerCurrent = current
    },
    BoxCurrent (state, current) {
      state.BoxCurrent = current
    },
    currentIndex (state, current) {
      state.currentIndex = current
    }
  }
}

export default user
